package cn.itsource.org.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class ShopDto {
    /**
     * 店铺名称
     */
    @NotEmpty(message = "店铺名不能为空")
    private String name;
    /**
     * 店铺座机
     */
    @NotEmpty(message = "座机不能为空")
    private String tel;
    /**
     * 店铺地址
     */
    @NotEmpty(message = "地址不能为空")
    private String address;
    /**
     * 店铺logo
     */
    @NotEmpty(message = "logo不能为空")
    private String logo;

    private EmployeeDto admin;
}
